package io.zim.modules.back.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.zim.common.annotation.DataFilter;
import io.zim.modules.back.dao.SysApplyDao;
import io.zim.modules.back.entity.SysApplyEntity;
import io.zim.modules.back.service.SysApplyService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 应用信息service接口实现类
 *
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019年05月13日 上午15:28:55
 */
@Service("sysApplyService")
public class SysApplyServiceImpl extends ServiceImpl<SysApplyDao, SysApplyEntity> implements SysApplyService {
  @Override
  @DataFilter(deptAlias = "a.dept_id")
  public List<SysApplyEntity> queryList(Map<String, Object> map) {
    return baseMapper.queryList(map);
  }

  @Override
  public int queryTotal(Map<String, Object> map) {
    return baseMapper.queryTotal(map);
  }
}
